/**************************************************************************************************
 *  File Defination 
 *  - Accordon
-------------------------------------------------------------------  
 * 3rd information www.mootools.net
 -------------------------------------------------------------------  
 *  Run in PHP versions 4 and upper versions
 -------------------------------------------------------------------
 *  Apprain : Content Management Framework <http://www.apprain.com/>
 *  Download link: http://www.apprain.com/download
 *  Docs link: http://www.apprain.com/docs
 -------------------------------------------------------------------
 *  License text http://www.opensource.org/licenses/mit-license.php 
 *  About MIT license <http://en.wikipedia.org/wiki/MIT_License/>
*************************************************************************************************/
window.addEvent('domready', function(){	
	//create our Accordion instance
	var myAccordion = new Accordion($('accordion'), '.toggler', '.element', {
		opacity: true,
		onActive: function(toggler, element){
			toggler.setStyle('color', '#41464D');
		},
		onBackground: function(toggler, element){
			toggler.setStyle('color', '#FFFFFF');
		}
	});		
});